package org.dxy.trigger.http.service;

import org.dxy.api.dto.request.holiday.GetHolidayDataRequest;
import org.dxy.api.dto.request.holiday.SaveHolidayDataRequest;
import org.dxy.api.dto.request.holiday.BatchSaveHolidayDataRequest;
import org.dxy.api.dto.vo.HolidayDataVo;
import org.dxy.api.dto.vo.HolidayStatisticsVo;

import java.util.Map;

/**
 * 假期管理应用服务接口
 * 
 * @author dxy
 * @createTime 2025/9/21
 */
public interface HolidayApplicationService {
    
    /**
     * 获取指定月份的假期数据
     */
    Map<String, HolidayDataVo> getHolidayData(GetHolidayDataRequest request);
    
    /**
     * 保存单个假期数据
     */
    void saveHolidayData(SaveHolidayDataRequest request);
    
    /**
     * 批量保存假期数据
     */
    void batchSaveHolidayData(BatchSaveHolidayDataRequest request);
    
    /**
     * 删除假期数据
     */
    void deleteHolidayData(String date);
    
    /**
     * 获取假期统计数据
     */
    HolidayStatisticsVo getHolidayStatistics(Integer year);
}